
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)


$(info "111111111111")
apk_files := ${shell ls $(LOCAL_PATH)/app/*.apk}
$(foreach file,$(apk_files), $(info  $(file)))

#PRODUCT_COPY_FILES += $(foreach file,$(apk_files), \
#	$(file):system/priv-app/$(notdir $(file)))

$(info "2222222222")
cpp_file_list := $(wildcard $(LOCAL_PATH)/src/*.cpp)
$(foreach cpp_file,$(cpp_file_list),$(info $(cpp_file)))

$(info "33333333333")
C_FILE_LIST := $(call all-subdir-c-files)
$(foreach c_file,$(C_FILE_LIST),$(info $(c_file)))


$(info "44444444444")
define all-cpp-files-under  
$(patsubst ./%,%, $(shell find $(LOCAL_PATH) -name "platform" -prune -o -name "*.cpp" -and -not -name ".*"))  
endef 
define all-subdir-cpp-files  
$(call all-cpp-files-under,.)  
endef
$(foreach cpp_file,$(all-subdir-cpp-files),$(info $(cpp_file)))

#include device/hisilicon/bigfish/packages/apps/test/test.mk 
